package com.crm.CLdriving.dto.req;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("更新缴费信息请求")
public class CostUpdateReqDto {
	
	@ApiModelProperty("id")
	private int id;
	
	@ApiModelProperty("学员姓名")
	//@NotBlank(message="学员姓名不能为空")
	private String name;  
	@ApiModelProperty("身份证号")
	//@Pattern(regexp = "^(\\d{18,18}|\\d{15,15}|(\\d{17,17}[x|X]))$", message = "身份证格式错误")
	//@NotBlank(message="身份证号不能为空")
	private String identity; 
	@ApiModelProperty("报名费")
	private Double enrollFee;	
	
	
	@ApiModelProperty("练车费")
	private Double practiceFee;	
	@ApiModelProperty("补考费")
	private Double makeFee;	
	@ApiModelProperty("车辆损坏费")
	private Double damageFee;
	@ApiModelProperty("总费用")
	private Double sumFee;      //不用传
	@ApiModelProperty("收款人")
	@NotBlank(message="收款人不能为空")
	private String payee;
	@ApiModelProperty("收款人联系电话")
	//@Pattern(regexp="^[1][3,4,5,7,8][0-9]{9}$",message="收款人联系电话错误")
	private String payeePhone;
	
	
	@ApiModelProperty("交费时间")
	//@NotBlank(message="交费时间不能为空")
	private String spentTime;
	@ApiModelProperty("更新时间")
	private String updateTime;   //不用传

}
